import {
  routerPush,
  routerReplace,
  routerGoback,
  routerPushWithoutNav,
  routerToStatic,
  routerToStaticWithoutNav,
  toLogin,
  toAdPage,
  toChat,
} from '../router/index';

export function useCustomRouter() {
  return {
    routerPush,
    routerReplace,
    routerGoback,
    routerPushWithoutNav,
    routerToStatic,
    routerToStaticWithoutNav,
    toLogin,
    toAdPage,
    toChat,
  };
}
